package cn.bdqn.mapper;

import cn.bdqn.domain.Departments;

import java.util.List;

public interface DepartmentsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Departments record);

    int insertSelective(Departments record);

    Departments selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Departments record);

    int updateByPrimaryKey(Departments record);

    /**
     * 查询所有的科室信息
     * @return
     */
    public List<Departments> selectAllInfo();
}